import request from '@/utils/request'

export const areaList = (data) =>
  request.get('/api/area/pageDetail', {
    params: {
      id: '',
      name: '',
      warehouseName: '',
      current: data.page,
      size: data.pagesize
    }
  })
export const areaPut = (data) => request.put('/api/area', {
  ...data
})
export const Kq = () => request.get('/api/codeFactory/next/KQ')
